<?php
// +----------------------------------------------------------------------
// | OneThink [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.onethink.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: huajie <banhuajie@163.com>
// +----------------------------------------------------------------------

namespace Report\Controller;
use Think\Controller;
use Think\Model;
use User\Api\ReportApi;

class LoginController extends Controller {

    protected function _initialize(){
        define('REPORTUID',session('report_id'));
        if(!session('report_id')) {
            $this->redirect('System/login');
        }
    }
}
